package com.dingup.mock.util;

import com.dingup.mock.enums.ExamContentTypeEnum;
import com.suyeer.basic.util.BLogUtil;

/**
 * Created by jun on 2018/9/18.
 */
public class SysUtil {
    public static void logExamRecordInfo(String userId, String examId, ExamContentTypeEnum ecte, int articleNum, int qNum, String answer){
        BLogUtil.info(String.format("模考答案信息{%s}{%s}{%s}{%s%s}{%s}",
                userId,
                examId,
                ecte.getCode().toUpperCase(),
                (articleNum > 0 ? articleNum + "-" : ""),
                qNum, answer));
    }
}
